package com.noassertions.data;

import java.util.ArrayList;

import com.noassertions.domain.Comment;
import com.noassertions.domain.Fit;
import com.noassertions.domain.Image;
import com.noassertions.domain.Rider;
import com.noassertions.domain.User;

public interface DAOInterface {

	void insertUser(User user);
	void insertRider(Rider rider);
	ArrayList getAllRiders();
	void saveFit(Fit fit);
	ArrayList getAllFits();
	void saveComment(Comment comment);
	void saveImage(Image image);
	Rider getRiderByID(int id);
	Long getRiderCount();
	Long getFitCount(int riderId);
	ArrayList getUserByUserId(int userid);
	User getUserByFitId(int fitid);
	Fit getFitByFitId(int fitid);
	ArrayList getRiderByUserId(int userid);
	ArrayList getFitsByUserId(int userid);
	ArrayList getImagesByFitId(int fitId);
	ArrayList getCommentsByFitId(int fitid);
	Comment getCommentByCommentId(int commentId);
	ArrayList getAllComments();
	User getUserByemailAddress(String emailAddress);
	User getRandomUserByUserid();
}